
<?php $this->layout = 'admin'; ?>
<h3> Add Client </h3>


<?php
if ($admin == 1) {
    ?>
    NOTE: the username and password field won't be used to oauth this account due to twitter regulations however they
    will be saved in a table where you can view them later,so please enter them carefully.
    <?php
    echo $this->Form->create('tattlrAccount', array('action' => 'AddClient'));
    echo $this->Form->input('ClientName', array('style' => 'width:500px'));

    echo $this->Form->input('TwitterUsername', array('style' => 'width:500px'));

    echo $this->Form->input('TwitterPassword', array('style' => 'width:500px'));
    echo $this->Form->input('MinimumDurationBetweenTweets', array('style' => 'width:500px'));
    echo $this->Form->end('AddClient');
}
?>
